<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="./">
<head>
  <meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>pyokx.okx_market_maker.utils.OkxEnum &mdash; AntBot 0.0.1 documentation</title>
      <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
      <link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=19f00094" />
      <link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=eafc0fe6" />

  
  <!--[if lt IE 9]>
    <script src="_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
        <script src="_static/jquery.js?v=5d32c60e"></script>
        <script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
        <script src="_static/documentation_options.js?v=d45e8c67"></script>
        <script src="_static/doctools.js?v=888ff710"></script>
        <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
    <script src="_static/js/theme.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="pyokx.okx_market_maker.utils.TdModeUtil" href="pyokx.okx_market_maker.utils.TdModeUtil.html" />
    <link rel="prev" title="pyokx.okx_market_maker.utils.InstrumentUtil" href="pyokx.okx_market_maker.utils.InstrumentUtil.html" /> 
</head>

<body class="wy-body-for-nav"> 
  <div class="wy-grid-for-nav">
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >

          
          
          <a href="index.html" class="icon icon-home">
            AntBot
          </a>
              <div class="version">
                0.0.1
              </div>
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>
        </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
              <p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="autodocumentation_python.html">autodocumentation_python</a></li>
<li class="toctree-l1"><a class="reference internal" href="firebase_tools.BaseClasses.html">firebase_tools.BaseClasses</a></li>
<li class="toctree-l1"><a class="reference internal" href="firebase_tools.FirestoreClient.html">firebase_tools.FirestoreClient</a></li>
<li class="toctree-l1"><a class="reference internal" href="firebase_tools.authenticate.html">firebase_tools.authenticate</a></li>
<li class="toctree-l1"><a class="reference internal" href="h2o_dashboard.dashboard.html">h2o_dashboard.dashboard</a></li>
<li class="toctree-l1"><a class="reference internal" href="h2o_dashboard.pages.documentation_page.html">h2o_dashboard.pages.documentation_page</a></li>
<li class="toctree-l1"><a class="reference internal" href="h2o_dashboard.pages.okx_dashbaord_page.okx_antbot_okx_premium_indicator_handler.html">h2o_dashboard.pages.okx_dashbaord_page.okx_antbot_okx_premium_indicator_handler</a></li>
<li class="toctree-l1"><a class="reference internal" href="h2o_dashboard.pages.okx_dashbaord_page.okx_dashboard_page.html">h2o_dashboard.pages.okx_dashbaord_page.okx_dashboard_page</a></li>
<li class="toctree-l1"><a class="reference internal" href="h2o_dashboard.pages.okx_streams.html">h2o_dashboard.pages.okx_streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="h2o_dashboard.pages.overview_page.html">h2o_dashboard.pages.overview_page</a></li>
<li class="toctree-l1"><a class="reference internal" href="h2o_dashboard.util.html">h2o_dashboard.util</a></li>
<li class="toctree-l1"><a class="reference internal" href="h2o_dashboard.wave_auth.html">h2o_dashboard.wave_auth</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.Futures_Exchange_Client.html">pyokx.Futures_Exchange_Client</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.InstrumentSearcher.html">pyokx.InstrumentSearcher</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.data_structures.html">pyokx.data_structures</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.Account.html">pyokx.low_rest_api.Account</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.BlockTrading.html">pyokx.low_rest_api.BlockTrading</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.Convert.html">pyokx.low_rest_api.Convert</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.CopyTrading.html">pyokx.low_rest_api.CopyTrading</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.Earning.html">pyokx.low_rest_api.Earning</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.FDBroker.html">pyokx.low_rest_api.FDBroker</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.Funding.html">pyokx.low_rest_api.Funding</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.Grid.html">pyokx.low_rest_api.Grid</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.MarketData.html">pyokx.low_rest_api.MarketData</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.NDBroker.html">pyokx.low_rest_api.NDBroker</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.PublicData.html">pyokx.low_rest_api.PublicData</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.SpreadTrading.html">pyokx.low_rest_api.SpreadTrading</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.Status.html">pyokx.low_rest_api.Status</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.SubAccount.html">pyokx.low_rest_api.SubAccount</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.Trade.html">pyokx.low_rest_api.Trade</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.TradingData.html">pyokx.low_rest_api.TradingData</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.client.html">pyokx.low_rest_api.client</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.consts.html">pyokx.low_rest_api.consts</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.exceptions.html">pyokx.low_rest_api.exceptions</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.low_rest_api.utils.html">pyokx.low_rest_api.utils</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.market_data_service.WssMarketDataService.html">pyokx.okx_market_maker.market_data_service.WssMarketDataService</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.market_data_service.model.Instrument.html">pyokx.okx_market_maker.market_data_service.model.Instrument</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.market_data_service.model.MarkPx.html">pyokx.okx_market_maker.market_data_service.model.MarkPx</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.market_data_service.model.OrderBook.html">pyokx.okx_market_maker.market_data_service.model.OrderBook</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.market_data_service.model.Tickers.html">pyokx.okx_market_maker.market_data_service.model.Tickers</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.order_management_service.WssOrderManagementService.html">pyokx.okx_market_maker.order_management_service.WssOrderManagementService</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.order_management_service.model.Order.html">pyokx.okx_market_maker.order_management_service.model.Order</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.order_management_service.model.OrderRequest.html">pyokx.okx_market_maker.order_management_service.model.OrderRequest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.position_management_service.WssPositionManagementService.html">pyokx.okx_market_maker.position_management_service.WssPositionManagementService</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.position_management_service.model.Account.html">pyokx.okx_market_maker.position_management_service.model.Account</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.position_management_service.model.BalanceAndPosition.html">pyokx.okx_market_maker.position_management_service.model.BalanceAndPosition</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.position_management_service.model.Positions.html">pyokx.okx_market_maker.position_management_service.model.Positions</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.run_sample_market_maker.html">pyokx.okx_market_maker.run_sample_market_maker</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.settings.html">pyokx.okx_market_maker.settings</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.strategy.BaseStrategy.html">pyokx.okx_market_maker.strategy.BaseStrategy</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.strategy.SampleMM.html">pyokx.okx_market_maker.strategy.SampleMM</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.strategy.model.StrategyMeasurement.html">pyokx.okx_market_maker.strategy.model.StrategyMeasurement</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.strategy.model.StrategyOrder.html">pyokx.okx_market_maker.strategy.model.StrategyOrder</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.strategy.params.ParamsLoader.html">pyokx.okx_market_maker.strategy.params.ParamsLoader</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.strategy.risk.RiskCalculator.html">pyokx.okx_market_maker.strategy.risk.RiskCalculator</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.strategy.risk.RiskSnapshot.html">pyokx.okx_market_maker.strategy.risk.RiskSnapshot</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.tests.test_strategy.html">pyokx.okx_market_maker.tests.test_strategy</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.utils.InstrumentUtil.html">pyokx.okx_market_maker.utils.InstrumentUtil</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">pyokx.okx_market_maker.utils.OkxEnum</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode"><code class="docutils literal notranslate"><span class="pre">AccountConfigMode</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode.CASH"><code class="docutils literal notranslate"><span class="pre">AccountConfigMode.CASH</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode.MULTI_CCY_MARGIN"><code class="docutils literal notranslate"><span class="pre">AccountConfigMode.MULTI_CCY_MARGIN</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode.PORTFOLIO_MARGIN"><code class="docutils literal notranslate"><span class="pre">AccountConfigMode.PORTFOLIO_MARGIN</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode.SINGLE_CCY_MARGIN"><code class="docutils literal notranslate"><span class="pre">AccountConfigMode.SINGLE_CCY_MARGIN</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.CtType"><code class="docutils literal notranslate"><span class="pre">CtType</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.CtType.INVERSE"><code class="docutils literal notranslate"><span class="pre">CtType.INVERSE</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.CtType.LINEAR"><code class="docutils literal notranslate"><span class="pre">CtType.LINEAR</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.InstState"><code class="docutils literal notranslate"><span class="pre">InstState</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.InstState.LIVE"><code class="docutils literal notranslate"><span class="pre">InstState.LIVE</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.InstState.PREOPEN"><code class="docutils literal notranslate"><span class="pre">InstState.PREOPEN</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.InstState.SUSPEND"><code class="docutils literal notranslate"><span class="pre">InstState.SUSPEND</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.InstState.TEST"><code class="docutils literal notranslate"><span class="pre">InstState.TEST</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType"><code class="docutils literal notranslate"><span class="pre">InstType</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType.FUTURES"><code class="docutils literal notranslate"><span class="pre">InstType.FUTURES</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType.MARGIN"><code class="docutils literal notranslate"><span class="pre">InstType.MARGIN</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType.OPTION"><code class="docutils literal notranslate"><span class="pre">InstType.OPTION</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType.SPOT"><code class="docutils literal notranslate"><span class="pre">InstType.SPOT</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType.SWAP"><code class="docutils literal notranslate"><span class="pre">InstType.SWAP</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.ListEnumMeta"><code class="docutils literal notranslate"><span class="pre">ListEnumMeta</span></code></a></li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.MgnMode"><code class="docutils literal notranslate"><span class="pre">MgnMode</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.MgnMode.cross"><code class="docutils literal notranslate"><span class="pre">MgnMode.cross</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.MgnMode.isolated"><code class="docutils literal notranslate"><span class="pre">MgnMode.isolated</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OptType"><code class="docutils literal notranslate"><span class="pre">OptType</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OptType.CALL"><code class="docutils literal notranslate"><span class="pre">OptType.CALL</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OptType.PUT"><code class="docutils literal notranslate"><span class="pre">OptType.PUT</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory"><code class="docutils literal notranslate"><span class="pre">OrderCategory</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.adl"><code class="docutils literal notranslate"><span class="pre">OrderCategory.adl</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.ddh"><code class="docutils literal notranslate"><span class="pre">OrderCategory.ddh</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.delivery"><code class="docutils literal notranslate"><span class="pre">OrderCategory.delivery</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.full_liquidation"><code class="docutils literal notranslate"><span class="pre">OrderCategory.full_liquidation</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.normal"><code class="docutils literal notranslate"><span class="pre">OrderCategory.normal</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.partial_liquidation"><code class="docutils literal notranslate"><span class="pre">OrderCategory.partial_liquidation</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.twap"><code class="docutils literal notranslate"><span class="pre">OrderCategory.twap</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderExecType"><code class="docutils literal notranslate"><span class="pre">OrderExecType</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderExecType.MAKER"><code class="docutils literal notranslate"><span class="pre">OrderExecType.MAKER</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderExecType.TAKER"><code class="docutils literal notranslate"><span class="pre">OrderExecType.TAKER</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp"><code class="docutils literal notranslate"><span class="pre">OrderOp</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp.AMEND"><code class="docutils literal notranslate"><span class="pre">OrderOp.AMEND</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp.BATCH_AMEND"><code class="docutils literal notranslate"><span class="pre">OrderOp.BATCH_AMEND</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp.BATCH_CANCEL"><code class="docutils literal notranslate"><span class="pre">OrderOp.BATCH_CANCEL</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp.BATCH_ORDER"><code class="docutils literal notranslate"><span class="pre">OrderOp.BATCH_ORDER</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp.CANCEL"><code class="docutils literal notranslate"><span class="pre">OrderOp.CANCEL</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp.ORDER"><code class="docutils literal notranslate"><span class="pre">OrderOp.ORDER</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderSide"><code class="docutils literal notranslate"><span class="pre">OrderSide</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderSide.BUY"><code class="docutils literal notranslate"><span class="pre">OrderSide.BUY</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderSide.SELL"><code class="docutils literal notranslate"><span class="pre">OrderSide.SELL</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderState"><code class="docutils literal notranslate"><span class="pre">OrderState</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderState.CANCELED"><code class="docutils literal notranslate"><span class="pre">OrderState.CANCELED</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderState.FILLED"><code class="docutils literal notranslate"><span class="pre">OrderState.FILLED</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderState.LIVE"><code class="docutils literal notranslate"><span class="pre">OrderState.LIVE</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderState.PARTIALLY_FILLED"><code class="docutils literal notranslate"><span class="pre">OrderState.PARTIALLY_FILLED</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType"><code class="docutils literal notranslate"><span class="pre">OrderType</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType.FOK"><code class="docutils literal notranslate"><span class="pre">OrderType.FOK</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType.IOC"><code class="docutils literal notranslate"><span class="pre">OrderType.IOC</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType.LIMIT"><code class="docutils literal notranslate"><span class="pre">OrderType.LIMIT</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType.MARKET"><code class="docutils literal notranslate"><span class="pre">OrderType.MARKET</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType.OPTIMAL_LIMIT_IOC"><code class="docutils literal notranslate"><span class="pre">OrderType.OPTIMAL_LIMIT_IOC</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType.POST_ONLY"><code class="docutils literal notranslate"><span class="pre">OrderType.POST_ONLY</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.PosSide"><code class="docutils literal notranslate"><span class="pre">PosSide</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.PosSide.long"><code class="docutils literal notranslate"><span class="pre">PosSide.long</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.PosSide.net"><code class="docutils literal notranslate"><span class="pre">PosSide.net</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.PosSide.short"><code class="docutils literal notranslate"><span class="pre">PosSide.short</span></code></a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.TdMode"><code class="docutils literal notranslate"><span class="pre">TdMode</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.TdMode.CASH"><code class="docutils literal notranslate"><span class="pre">TdMode.CASH</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.TdMode.CROSS"><code class="docutils literal notranslate"><span class="pre">TdMode.CROSS</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#pyokx.okx_market_maker.utils.OkxEnum.TdMode.ISOLATED"><code class="docutils literal notranslate"><span class="pre">TdMode.ISOLATED</span></code></a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.utils.TdModeUtil.html">pyokx.okx_market_maker.utils.TdModeUtil</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.okx_market_maker.utils.WsOrderUtil.html">pyokx.okx_market_maker.utils.WsOrderUtil</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.redis_structured_reports.html">pyokx.redis_structured_reports</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.redis_structured_streams.html">pyokx.redis_structured_streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.rest_handling.html">pyokx.rest_handling</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.rest_messages_service.html">pyokx.rest_messages_service</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.strategy_handling.html">pyokx.strategy_handling</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.AccountTest.html">pyokx.test.AccountTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.BlockTradingTest.html">pyokx.test.BlockTradingTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.BrokerTest.html">pyokx.test.BrokerTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.ConvertTest.html">pyokx.test.ConvertTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.CopyTradingTest.html">pyokx.test.CopyTradingTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.EarningTest.html">pyokx.test.EarningTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.FundingTest.html">pyokx.test.FundingTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.GridTest.html">pyokx.test.GridTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.MarketTest.html">pyokx.test.MarketTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.PublicDataTest.html">pyokx.test.PublicDataTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.SpreadTest.html">pyokx.test.SpreadTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.StackingTest.html">pyokx.test.StackingTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.SubAccountTest.html">pyokx.test.SubAccountTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.TradeTest.html">pyokx.test.TradeTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.TradingDataTest.html">pyokx.test.TradingDataTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.WsPrivateAsyncTest.html">pyokx.test.WsPrivateAsyncTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.test.WsPublicAsyncTest.html">pyokx.test.WsPublicAsyncTest</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.websocket_handling.html">pyokx.websocket_handling</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.ws_clients.WebSocketFactory.html">pyokx.ws_clients.WebSocketFactory</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.ws_clients.WsPprivateAsync.html">pyokx.ws_clients.WsPprivateAsync</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.ws_clients.WsPublicAsync.html">pyokx.ws_clients.WsPublicAsync</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.ws_clients.WsUtils.html">pyokx.ws_clients.WsUtils</a></li>
<li class="toctree-l1"><a class="reference internal" href="pyokx.ws_data_structures.html">pyokx.ws_data_structures</a></li>
<li class="toctree-l1"><a class="reference internal" href="redis_tools.config.html">redis_tools.config</a></li>
<li class="toctree-l1"><a class="reference internal" href="redis_tools.consumers.html">redis_tools.consumers</a></li>
<li class="toctree-l1"><a class="reference internal" href="redis_tools.utils.html">redis_tools.utils</a></li>
<li class="toctree-l1"><a class="reference internal" href="rest_app.html">rest_app</a></li>
<li class="toctree-l1"><a class="reference internal" href="routers.api_keys.html">routers.api_keys</a></li>
<li class="toctree-l1"><a class="reference internal" href="routers.login.html">routers.login</a></li>
<li class="toctree-l1"><a class="reference internal" href="routers.okx.html">routers.okx</a></li>
<li class="toctree-l1"><a class="reference internal" href="routers.okx_authentication.html">routers.okx_authentication</a></li>
<li class="toctree-l1"><a class="reference internal" href="routers.signup.html">routers.signup</a></li>
<li class="toctree-l1"><a class="reference internal" href="shared.command_execution.html">shared.command_execution</a></li>
<li class="toctree-l1"><a class="reference internal" href="shared.config.html">shared.config</a></li>
<li class="toctree-l1"><a class="reference internal" href="shared.configuration_parser.html">shared.configuration_parser</a></li>
<li class="toctree-l1"><a class="reference internal" href="shared.data_processing_utils.html">shared.data_processing_utils</a></li>
<li class="toctree-l1"><a class="reference internal" href="shared.file_directory_ops.html">shared.file_directory_ops</a></li>
<li class="toctree-l1"><a class="reference internal" href="shared.logging.html">shared.logging</a></li>
<li class="toctree-l1"><a class="reference internal" href="shared.string_dict_utils.html">shared.string_dict_utils</a></li>
<li class="toctree-l1"><a class="reference internal" href="shared.tmp_shared.html">shared.tmp_shared</a></li>
<li class="toctree-l1"><a class="reference internal" href="tradingview_tools.tradingview_widgets.html">tradingview_tools.tradingview_widgets</a></li>
<li class="toctree-l1"><a class="reference internal" href="websocket_app.html">websocket_app</a></li>
</ul>

        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">AntBot</a>
      </nav>

      <div class="wy-nav-content">
        <div class="rst-content">
          <div role="navigation" aria-label="Page navigation">
  <ul class="wy-breadcrumbs">
      <li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
      <li class="breadcrumb-item active">pyokx.okx_market_maker.utils.OkxEnum</li>
      <li class="wy-breadcrumbs-aside">
            <a href="_sources/pyokx.okx_market_maker.utils.OkxEnum.rst.txt" rel="nofollow"> View page source</a>
      </li>
  </ul>
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
             
  <section id="module-pyokx.okx_market_maker.utils.OkxEnum">
<span id="pyokx-okx-market-maker-utils-okxenum"></span><h1>pyokx.okx_market_maker.utils.OkxEnum<a class="headerlink" href="#module-pyokx.okx_market_maker.utils.OkxEnum" title="Link to this heading"></a></h1>
<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">AccountConfigMode</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#AccountConfigMode"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode.CASH">
<span class="sig-name descname"><span class="pre">CASH</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">1</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode.CASH" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode.MULTI_CCY_MARGIN">
<span class="sig-name descname"><span class="pre">MULTI_CCY_MARGIN</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">3</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode.MULTI_CCY_MARGIN" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode.PORTFOLIO_MARGIN">
<span class="sig-name descname"><span class="pre">PORTFOLIO_MARGIN</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">4</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode.PORTFOLIO_MARGIN" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode.SINGLE_CCY_MARGIN">
<span class="sig-name descname"><span class="pre">SINGLE_CCY_MARGIN</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">2</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode.SINGLE_CCY_MARGIN" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.CtType">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">CtType</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#CtType"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.CtType" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.CtType.INVERSE">
<span class="sig-name descname"><span class="pre">INVERSE</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'inverse'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.CtType.INVERSE" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.CtType.LINEAR">
<span class="sig-name descname"><span class="pre">LINEAR</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'linear'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.CtType.LINEAR" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.InstState">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">InstState</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#InstState"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.InstState" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.InstState.LIVE">
<span class="sig-name descname"><span class="pre">LIVE</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'live'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.InstState.LIVE" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.InstState.PREOPEN">
<span class="sig-name descname"><span class="pre">PREOPEN</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'preopen'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.InstState.PREOPEN" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.InstState.SUSPEND">
<span class="sig-name descname"><span class="pre">SUSPEND</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'suspend'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.InstState.SUSPEND" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.InstState.TEST">
<span class="sig-name descname"><span class="pre">TEST</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'test'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.InstState.TEST" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.InstType">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">InstType</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#InstType"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.InstType.FUTURES">
<span class="sig-name descname"><span class="pre">FUTURES</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'FUTURES'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType.FUTURES" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.InstType.MARGIN">
<span class="sig-name descname"><span class="pre">MARGIN</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'MARGIN'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType.MARGIN" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.InstType.OPTION">
<span class="sig-name descname"><span class="pre">OPTION</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'OPTION'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType.OPTION" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.InstType.SPOT">
<span class="sig-name descname"><span class="pre">SPOT</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'SPOT'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType.SPOT" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.InstType.SWAP">
<span class="sig-name descname"><span class="pre">SWAP</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'SWAP'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType.SWAP" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.ListEnumMeta">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">ListEnumMeta</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">cls</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">bases</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">classdict</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwds</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#ListEnumMeta"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.ListEnumMeta" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">EnumMeta</span></code></p>
</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.MgnMode">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">MgnMode</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#MgnMode"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.MgnMode" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.MgnMode.cross">
<span class="sig-name descname"><span class="pre">cross</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'cross'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.MgnMode.cross" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.MgnMode.isolated">
<span class="sig-name descname"><span class="pre">isolated</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'isolated'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.MgnMode.isolated" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OptType">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">OptType</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#OptType"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OptType" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OptType.CALL">
<span class="sig-name descname"><span class="pre">CALL</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'C'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OptType.CALL" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OptType.PUT">
<span class="sig-name descname"><span class="pre">PUT</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'P'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OptType.PUT" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderCategory">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">OrderCategory</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#OrderCategory"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.adl">
<span class="sig-name descname"><span class="pre">adl</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'adl'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.adl" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.ddh">
<span class="sig-name descname"><span class="pre">ddh</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'ddh'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.ddh" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.delivery">
<span class="sig-name descname"><span class="pre">delivery</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'delivery'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.delivery" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.full_liquidation">
<span class="sig-name descname"><span class="pre">full_liquidation</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'full_liquidation'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.full_liquidation" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.normal">
<span class="sig-name descname"><span class="pre">normal</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'normal'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.normal" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.partial_liquidation">
<span class="sig-name descname"><span class="pre">partial_liquidation</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'partial_liquidation'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.partial_liquidation" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.twap">
<span class="sig-name descname"><span class="pre">twap</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'twap'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory.twap" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderExecType">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">OrderExecType</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#OrderExecType"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderExecType" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderExecType.MAKER">
<span class="sig-name descname"><span class="pre">MAKER</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'M'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderExecType.MAKER" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderExecType.TAKER">
<span class="sig-name descname"><span class="pre">TAKER</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'T'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderExecType.TAKER" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderOp">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">OrderOp</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#OrderOp"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderOp.AMEND">
<span class="sig-name descname"><span class="pre">AMEND</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'amend-order'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp.AMEND" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderOp.BATCH_AMEND">
<span class="sig-name descname"><span class="pre">BATCH_AMEND</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'batch-amend-order'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp.BATCH_AMEND" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderOp.BATCH_CANCEL">
<span class="sig-name descname"><span class="pre">BATCH_CANCEL</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'batch-cancel-orders'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp.BATCH_CANCEL" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderOp.BATCH_ORDER">
<span class="sig-name descname"><span class="pre">BATCH_ORDER</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'batch-orders'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp.BATCH_ORDER" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderOp.CANCEL">
<span class="sig-name descname"><span class="pre">CANCEL</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'cancel-order'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp.CANCEL" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderOp.ORDER">
<span class="sig-name descname"><span class="pre">ORDER</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'order'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp.ORDER" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderSide">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">OrderSide</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#OrderSide"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderSide" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderSide.BUY">
<span class="sig-name descname"><span class="pre">BUY</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'buy'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderSide.BUY" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderSide.SELL">
<span class="sig-name descname"><span class="pre">SELL</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'sell'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderSide.SELL" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderState">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">OrderState</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#OrderState"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderState" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderState.CANCELED">
<span class="sig-name descname"><span class="pre">CANCELED</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'canceled'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderState.CANCELED" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderState.FILLED">
<span class="sig-name descname"><span class="pre">FILLED</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'filled'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderState.FILLED" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderState.LIVE">
<span class="sig-name descname"><span class="pre">LIVE</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'live'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderState.LIVE" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderState.PARTIALLY_FILLED">
<span class="sig-name descname"><span class="pre">PARTIALLY_FILLED</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'partially_filled'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderState.PARTIALLY_FILLED" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderType">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">OrderType</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#OrderType"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderType.FOK">
<span class="sig-name descname"><span class="pre">FOK</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'fok'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType.FOK" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderType.IOC">
<span class="sig-name descname"><span class="pre">IOC</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'ioc'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType.IOC" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderType.LIMIT">
<span class="sig-name descname"><span class="pre">LIMIT</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'limit'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType.LIMIT" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderType.MARKET">
<span class="sig-name descname"><span class="pre">MARKET</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'market'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType.MARKET" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderType.OPTIMAL_LIMIT_IOC">
<span class="sig-name descname"><span class="pre">OPTIMAL_LIMIT_IOC</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'optimal_limit_ioc'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType.OPTIMAL_LIMIT_IOC" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.OrderType.POST_ONLY">
<span class="sig-name descname"><span class="pre">POST_ONLY</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'post_only'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType.POST_ONLY" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.PosSide">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">PosSide</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#PosSide"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.PosSide" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.PosSide.long">
<span class="sig-name descname"><span class="pre">long</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'long'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.PosSide.long" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.PosSide.net">
<span class="sig-name descname"><span class="pre">net</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'net'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.PosSide.net" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.PosSide.short">
<span class="sig-name descname"><span class="pre">short</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'short'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.PosSide.short" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="py class">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.TdMode">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pyokx.okx_market_maker.utils.OkxEnum.</span></span><span class="sig-name descname"><span class="pre">TdMode</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyokx/okx_market_maker/utils/OkxEnum.html#TdMode"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.TdMode" title="Link to this definition"></a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></p>
<p>An enumeration.</p>
<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.TdMode.CASH">
<span class="sig-name descname"><span class="pre">CASH</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'cash'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.TdMode.CASH" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.TdMode.CROSS">
<span class="sig-name descname"><span class="pre">CROSS</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'cross'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.TdMode.CROSS" title="Link to this definition"></a></dt>
<dd></dd></dl>

<dl class="py attribute">
<dt class="sig sig-object py" id="pyokx.okx_market_maker.utils.OkxEnum.TdMode.ISOLATED">
<span class="sig-name descname"><span class="pre">ISOLATED</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">'isolated'</span></em><a class="headerlink" href="#pyokx.okx_market_maker.utils.OkxEnum.TdMode.ISOLATED" title="Link to this definition"></a></dt>
<dd></dd></dl>

</dd></dl>

<div class="graphviz"><img src="_images/inheritance-970a4b6cd4458eab76b082714f2a29488474b7d5.png" alt="Inheritance diagram of pyokx.okx_market_maker.utils.OkxEnum" usemap="#inheritancebd3b34c313" class="inheritance graphviz" /></div>
<map id="inheritancebd3b34c313" name="inheritancebd3b34c313">
<area shape="rect" id="node1" href="#pyokx.okx_market_maker.utils.OkxEnum.AccountConfigMode" target="_top" title="An enumeration." alt="" coords="145,55,296,80"/>
<area shape="rect" id="node3" href="#pyokx.okx_market_maker.utils.OkxEnum.CtType" target="_top" title="An enumeration." alt="" coords="185,104,257,129"/>
<area shape="rect" id="node5" href="#pyokx.okx_market_maker.utils.OkxEnum.InstState" target="_top" title="An enumeration." alt="" coords="181,153,261,179"/>
<area shape="rect" id="node6" href="#pyokx.okx_market_maker.utils.OkxEnum.InstType" target="_top" title="An enumeration." alt="" coords="183,203,259,228"/>
<area shape="rect" id="node8" href="#pyokx.okx_market_maker.utils.OkxEnum.MgnMode" target="_top" title="An enumeration." alt="" coords="177,252,264,277"/>
<area shape="rect" id="node9" href="#pyokx.okx_market_maker.utils.OkxEnum.OptType" target="_top" title="An enumeration." alt="" coords="183,301,258,327"/>
<area shape="rect" id="node10" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderCategory" target="_top" title="An enumeration." alt="" coords="162,351,279,376"/>
<area shape="rect" id="node11" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderExecType" target="_top" title="An enumeration." alt="" coords="161,400,280,425"/>
<area shape="rect" id="node12" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderOp" target="_top" title="An enumeration." alt="" coords="183,449,259,475"/>
<area shape="rect" id="node13" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderSide" target="_top" title="An enumeration." alt="" coords="177,499,264,524"/>
<area shape="rect" id="node14" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderState" target="_top" title="An enumeration." alt="" coords="175,548,267,573"/>
<area shape="rect" id="node15" href="#pyokx.okx_market_maker.utils.OkxEnum.OrderType" target="_top" title="An enumeration." alt="" coords="177,597,265,623"/>
<area shape="rect" id="node16" href="#pyokx.okx_market_maker.utils.OkxEnum.PosSide" target="_top" title="An enumeration." alt="" coords="184,647,257,672"/>
<area shape="rect" id="node17" href="#pyokx.okx_market_maker.utils.OkxEnum.TdMode" target="_top" title="An enumeration." alt="" coords="183,696,258,721"/>
<area shape="rect" id="node7" href="#pyokx.okx_market_maker.utils.OkxEnum.ListEnumMeta" target="_top" title="ListEnumMeta" alt="" coords="163,5,278,31"/>
</map></section>


           </div>
          </div>
          <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
        <a href="pyokx.okx_market_maker.utils.InstrumentUtil.html" class="btn btn-neutral float-left" title="pyokx.okx_market_maker.utils.InstrumentUtil" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
        <a href="pyokx.okx_market_maker.utils.TdModeUtil.html" class="btn btn-neutral float-right" title="pyokx.okx_market_maker.utils.TdModeUtil" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>&#169; Copyright 2024, Ruben Fernandez Carbon.</p>
  </div>

  Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
    <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
    provided by <a href="https://readthedocs.org">Read the Docs</a>.
   

</footer>
        </div>
      </div>
    </section>
  </div>
  <script>
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script> 

</body>
</html>